<?php if(isset($debug_page) && $debug_page === TRUE): ?>
<link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="../css/main.css" rel="stylesheet">
<?php endif; ?>
<?php if(isset($full_page) && $full_page): //判断是否为ajax提交?>
<!--Model-->
<div class="modal fade in" style="display:block">
  <div class="modal-dialog">
    <div class="modal-content">
      <?php endif;  //判断是否为ajax提交?>
        <div class="page_loading" style="display: none;"></div>
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title"><?php echo $modal_title ?></h4>
      </div>
      <form data-action="ajaxPageForm" action="<?php echo site_url("$my_router/post") ?>" class="form-horizontal" role='form' method="post" autocomplete="off">
        <div class="modal-body">
        <div class="form-group has-feedback">
            <label class="control-label col-sm-3">手机号码</label>
            <div class="col-sm-4">
              <input type="text" class="form-control input-sm" placeholder="如：13xxxxxxxxx" name="mobile" disabled value=""/>
              </div>
          </div>
          <div class="form-group has-feedback">
            <label class="control-label col-sm-3">新密码</label>
            <div class="col-sm-4">
              <input  type="password" class="form-control input-sm" name="new_password" value=""/>
              
              <span class="help-block">不修改请留空</span>
            </div>
          </div>
          <div class="form-group has-feedback">
            <label class="control-label col-sm-3">确认新密码</label>
            <div class="col-sm-4">
              <input type="password" class="form-control input-sm" name="new_password_cfm" value=""/>
              
              <span class="help-block">不修改请留空</span>
            </div>
          </div>
          <hr/>
          <div class="form-group has-feedback">
            <label class="control-label col-sm-3">昵称</label>
            <div class="col-sm-4">
              <input type="text" class="form-control input-sm" data-demand="required"  name="real_name" value=""/>
              </div>
          </div>
          
          <div class="form-group">
            <label class="control-label col-sm-3">性别</label>
            <div class="col-sm-4">
              <label class="radio-inline">
                <input type="radio" name="gender" value="0">
                保密 </label>
              <label class="radio-inline">
                <input type="radio" name="gender" value="1">
                男 </label>
              <label class="radio-inline">
                <input type="radio" name="gender" value="2">
                女 </label>
            </div>
          </div>
        
          
          
        </div>
        <div class="modal-footer">
          <div class="form-group">
            <label class="control-label col-sm-3 sr-only-focusable"></label>
            <div class="col-sm-4">
              <input type="submit" class="btn btn-primary pull-left" value="保 存" />
              <input type="button" class="btn btn-default pull-left" data-dismiss="modal" value="取 消" />
              <input type="hidden" name="action" value="<?php echo $form_action; ?>">
              <input type="hidden" name="id" value="0">
            </div>
          </div>
        </div>
      </form>
      <?php if(isset($full_page) && $full_page): //判断是否为ajax提交?>
    </div>
    <!-- /.modal-content --> 
  </div>
  <!-- /.modal-dialog --> 
  
</div>
<!-- /.modal -->
<?php endif;  //判断是否为ajax提交?>
